<%@ page import="controlecheque.ChequeEmpresa" %>



<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'valor', 'error')} required">
	<label for="valor">
		<g:message code="chequeEmpresa.valor.label" default="Valor" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="valor" step="0.01" min="0.01" required="" value="${fieldValue(bean: chequeEmpresaInstance, field: 'valor')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'numero', 'error')} required">
	<label for="numero">
		<g:message code="chequeEmpresa.numero.label" default="Numero" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="numero" required="" value="${fieldValue(bean: chequeEmpresaInstance, field: 'numero')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'banco', 'error')} required">
	<label for="banco">
		<g:message code="chequeEmpresa.banco.label" default="Banco" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="banco" from="${controlecheque.Banco?.values()}" keys="${controlecheque.Banco.values()*.name()}" required="" value="${chequeEmpresaInstance?.banco?.name()}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'compenssado', 'error')} ">
	<label for="compenssado">
		<g:message code="chequeEmpresa.compenssado.label" default="Compenssado" />
		
	</label>
	<g:checkBox name="compenssado" value="${chequeEmpresaInstance?.compenssado}" />
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'data', 'error')} required">
	<label for="data">
		<g:message code="chequeEmpresa.data.label" default="Data" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="data" precision="day"  value="${chequeEmpresaInstance?.data}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'destino', 'error')} ">
	<label for="destino">
		<g:message code="chequeEmpresa.destino.label" default="Destino" />
		
	</label>
	<g:textField name="destino" value="${chequeEmpresaInstance?.destino}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: chequeEmpresaInstance, field: 'empresa', 'error')} required">
	<label for="empresa">
		<g:message code="chequeEmpresa.empresa.label" default="Empresa" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="empresa" from="${controlecheque.Empresa?.values()}" keys="${controlecheque.Empresa.values()*.name()}" required="" value="${chequeEmpresaInstance?.empresa?.name()}"/>
</div>

